Xbasic

INET::SSLSocket::ReadLine Method

Syntax

Result_Flag as L = ReadLine(Data BYREF as C[, Timeout as N = -1])

Arguments

Result_Flag

TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).

Data BYREF

The data received from the connection.

Timeout

The time (in milliseconds) to wait for a complete line of data to be received.

Description

The INET::SSLSocket::ReadLine() method reads a line from the receive buffer. A line is terminated by a CR-LF. If nothing is available, the method returns an empty string.

See Also